package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_ProductBqSp", catalog="Id")
public class TpProductBqSp extends BaseEntity<TpProductBqSp> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pid", nameJava="pid", typeDataBase="bigint")
	private Long pid;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="PriceService", nameJava="priceService", typeDataBase="decimal")
	private BigDecimal priceService;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="IsSuperior", nameJava="isSuperior", typeDataBase="varchar")
	private String isSuperior;
	@YsField(nameDataBase="VsfJp", nameJava="vsfJp", typeDataBase="varchar")
	private String vsfJp;
	@YsField(nameDataBase="CommodityLmId", nameJava="commodityLmId", typeDataBase="bigint")
	private Long commodityLmId;
	@YsField(nameDataBase="CommodityRemark", nameJava="commodityRemark", typeDataBase="varchar")
	private String commodityRemark;
	@YsField(nameDataBase="Img", nameJava="img", typeDataBase="varchar")
	private String img;
	@YsField(nameDataBase="Img1", nameJava="img1", typeDataBase="varchar")
	private String img1;
	@YsField(nameDataBase="Img2", nameJava="img2", typeDataBase="varchar")
	private String img2;
	@YsField(nameDataBase="Combination", nameJava="combination", typeDataBase="varchar")
	private String combination;
	@YsField(nameDataBase="CodeHs", nameJava="codeHs", typeDataBase="varchar")
	private String codeHs;
	@YsField(nameDataBase="SizeLength", nameJava="sizeLength", typeDataBase="decimal")
	private BigDecimal sizeLength;
	@YsField(nameDataBase="SizeWidth", nameJava="sizeWidth", typeDataBase="decimal")
	private BigDecimal sizeWidth;
	@YsField(nameDataBase="SizeHeight", nameJava="sizeHeight", typeDataBase="decimal")
	private BigDecimal sizeHeight;
	@YsField(nameDataBase="SizeWeight", nameJava="sizeWeight", typeDataBase="decimal")
	private BigDecimal sizeWeight;
	@YsField(nameDataBase="LinkIn", nameJava="linkIn", typeDataBase="varchar")
	private String linkIn;
	@YsField(nameDataBase="FjySj", nameJava="fjySj", typeDataBase="decimal")
	private BigDecimal fjySj;
	@YsField(nameDataBase="PriceIn", nameJava="priceIn", typeDataBase="decimal")
	private BigDecimal priceIn;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="FygFy", nameJava="fygFy", typeDataBase="decimal")
	private BigDecimal fygFy;
	@YsField(nameDataBase="FwlYgFy", nameJava="fwlYgFy", typeDataBase="decimal")
	private BigDecimal fwlYgFy;
	@YsField(nameDataBase="Fyjb", nameJava="fyjb", typeDataBase="decimal")
	private BigDecimal fyjb;
	@YsField(nameDataBase="FcbK", nameJava="fcbK", typeDataBase="decimal")
	private BigDecimal fcbK;
	@YsField(nameDataBase="FcbH", nameJava="fcbH", typeDataBase="decimal")
	private BigDecimal fcbH;
	@YsField(nameDataBase="FmllK", nameJava="fmllK", typeDataBase="decimal")
	private BigDecimal fmllK;
	@YsField(nameDataBase="FmllH", nameJava="fmllH", typeDataBase="decimal")
	private BigDecimal fmllH;
	@YsField(nameDataBase="FTcbK", nameJava="fTcbK", typeDataBase="decimal")
	private BigDecimal fTcbK;
	@YsField(nameDataBase="FTcbH", nameJava="fTcbH", typeDataBase="decimal")
	private BigDecimal fTcbH;
	@YsField(nameDataBase="AsinJp", nameJava="asinJp", typeDataBase="varchar")
	private String asinJp;
	@YsField(nameDataBase="LinkJp", nameJava="linkJp", typeDataBase="varchar")
	private String linkJp;
	@YsField(nameDataBase="PriceJp", nameJava="priceJp", typeDataBase="decimal")
	private BigDecimal priceJp;
	@YsField(nameDataBase="TitleJp", nameJava="titleJp", typeDataBase="varchar")
	private String titleJp;
	@YsField(nameDataBase="RatingJp", nameJava="ratingJp", typeDataBase="int")
	private Integer ratingJp;
	@YsField(nameDataBase="ScoreJp", nameJava="scoreJp", typeDataBase="decimal")
	private BigDecimal scoreJp;
	@YsField(nameDataBase="DayOnJp", nameJava="dayOnJp", typeDataBase="varchar")
	private String dayOnJp;
	@YsField(nameDataBase="RankOneJp", nameJava="rankOneJp", typeDataBase="int")
	private Integer rankOneJp;
	@YsField(nameDataBase="DispatchesJp", nameJava="dispatchesJp", typeDataBase="varchar")
	private String dispatchesJp;
	@YsField(nameDataBase="SolderJp", nameJava="solderJp", typeDataBase="varchar")
	private String solderJp;
	@YsField(nameDataBase="RemarkJp", nameJava="remarkJp", typeDataBase="varchar")
	private String remarkJp;
	@YsField(nameDataBase="CateOneJPId", nameJava="cateOneJPId", typeDataBase="bigint")
	private Long cateOneJPId;
	@YsField(nameDataBase="Spid", nameJava="spid", typeDataBase="bigint")
	private Long spid;
	@YsField(nameDataBase="IsEdit", nameJava="isEdit", typeDataBase="int")
	private Integer isEdit;
	@YsField(nameDataBase="CommodityPlId", nameJava="commodityPlId", typeDataBase="bigint")
	private Long commodityPlId;
	@YsField(nameDataBase="CommodityProperty", nameJava="commodityProperty", typeDataBase="varchar")
	private String commodityProperty;
	@YsField(nameDataBase="NameUnitId", nameJava="nameUnitId", typeDataBase="bigint")
	private Long nameUnitId;
	@YsField(nameDataBase="NameId", nameJava="nameId", typeDataBase="bigint")
	private Long nameId;
	@YsField(nameDataBase="UsageId", nameJava="usageId", typeDataBase="bigint")
	private Long usageId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpProductBqSp setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getPid() {
		return pid;
	}
	public TpProductBqSp setPid(Long pid) {
		this.pid = pid;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpProductBqSp setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpProductBqSp setName(String name) {
		this.name = name;
		return this;
	}
	public BigDecimal getPriceService() {
		return priceService;
	}
	public TpProductBqSp setPriceService(BigDecimal priceService) {
		this.priceService = priceService;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpProductBqSp setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public String getIsSuperior() {
		return isSuperior;
	}
	public TpProductBqSp setIsSuperior(String isSuperior) {
		this.isSuperior = isSuperior;
		return this;
	}
	public String getVsfJp() {
		return vsfJp;
	}
	public TpProductBqSp setVsfJp(String vsfJp) {
		this.vsfJp = vsfJp;
		return this;
	}
	public Long getCommodityLmId() {
		return commodityLmId;
	}
	public TpProductBqSp setCommodityLmId(Long commodityLmId) {
		this.commodityLmId = commodityLmId;
		return this;
	}
	public String getCommodityRemark() {
		return commodityRemark;
	}
	public TpProductBqSp setCommodityRemark(String commodityRemark) {
		this.commodityRemark = commodityRemark;
		return this;
	}
	public String getImg() {
		return img;
	}
	public TpProductBqSp setImg(String img) {
		this.img = img;
		return this;
	}
	public String getImg1() {
		return img1;
	}
	public TpProductBqSp setImg1(String img1) {
		this.img1 = img1;
		return this;
	}
	public String getImg2() {
		return img2;
	}
	public TpProductBqSp setImg2(String img2) {
		this.img2 = img2;
		return this;
	}
	public String getCombination() {
		return combination;
	}
	public TpProductBqSp setCombination(String combination) {
		this.combination = combination;
		return this;
	}
	public String getCodeHs() {
		return codeHs;
	}
	public TpProductBqSp setCodeHs(String codeHs) {
		this.codeHs = codeHs;
		return this;
	}
	public BigDecimal getSizeLength() {
		return sizeLength;
	}
	public TpProductBqSp setSizeLength(BigDecimal sizeLength) {
		this.sizeLength = sizeLength;
		return this;
	}
	public BigDecimal getSizeWidth() {
		return sizeWidth;
	}
	public TpProductBqSp setSizeWidth(BigDecimal sizeWidth) {
		this.sizeWidth = sizeWidth;
		return this;
	}
	public BigDecimal getSizeHeight() {
		return sizeHeight;
	}
	public TpProductBqSp setSizeHeight(BigDecimal sizeHeight) {
		this.sizeHeight = sizeHeight;
		return this;
	}
	public BigDecimal getSizeWeight() {
		return sizeWeight;
	}
	public TpProductBqSp setSizeWeight(BigDecimal sizeWeight) {
		this.sizeWeight = sizeWeight;
		return this;
	}
	public String getLinkIn() {
		return linkIn;
	}
	public TpProductBqSp setLinkIn(String linkIn) {
		this.linkIn = linkIn;
		return this;
	}
	public BigDecimal getFjySj() {
		return fjySj;
	}
	public TpProductBqSp setFjySj(BigDecimal fjySj) {
		this.fjySj = fjySj;
		return this;
	}
	public BigDecimal getPriceIn() {
		return priceIn;
	}
	public TpProductBqSp setPriceIn(BigDecimal priceIn) {
		this.priceIn = priceIn;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TpProductBqSp setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public BigDecimal getFygFy() {
		return fygFy;
	}
	public TpProductBqSp setFygFy(BigDecimal fygFy) {
		this.fygFy = fygFy;
		return this;
	}
	public BigDecimal getFwlYgFy() {
		return fwlYgFy;
	}
	public TpProductBqSp setFwlYgFy(BigDecimal fwlYgFy) {
		this.fwlYgFy = fwlYgFy;
		return this;
	}
	public BigDecimal getFyjb() {
		return fyjb;
	}
	public TpProductBqSp setFyjb(BigDecimal fyjb) {
		this.fyjb = fyjb;
		return this;
	}
	public BigDecimal getFcbK() {
		return fcbK;
	}
	public TpProductBqSp setFcbK(BigDecimal fcbK) {
		this.fcbK = fcbK;
		return this;
	}
	public BigDecimal getFcbH() {
		return fcbH;
	}
	public TpProductBqSp setFcbH(BigDecimal fcbH) {
		this.fcbH = fcbH;
		return this;
	}
	public BigDecimal getFmllK() {
		return fmllK;
	}
	public TpProductBqSp setFmllK(BigDecimal fmllK) {
		this.fmllK = fmllK;
		return this;
	}
	public BigDecimal getFmllH() {
		return fmllH;
	}
	public TpProductBqSp setFmllH(BigDecimal fmllH) {
		this.fmllH = fmllH;
		return this;
	}
	public BigDecimal getFTcbK() {
		return fTcbK;
	}
	public TpProductBqSp setFTcbK(BigDecimal fTcbK) {
		this.fTcbK = fTcbK;
		return this;
	}
	public BigDecimal getFTcbH() {
		return fTcbH;
	}
	public TpProductBqSp setFTcbH(BigDecimal fTcbH) {
		this.fTcbH = fTcbH;
		return this;
	}
	public String getAsinJp() {
		return asinJp;
	}
	public TpProductBqSp setAsinJp(String asinJp) {
		this.asinJp = asinJp;
		return this;
	}
	public String getLinkJp() {
		return linkJp;
	}
	public TpProductBqSp setLinkJp(String linkJp) {
		this.linkJp = linkJp;
		return this;
	}
	public BigDecimal getPriceJp() {
		return priceJp;
	}
	public TpProductBqSp setPriceJp(BigDecimal priceJp) {
		this.priceJp = priceJp;
		return this;
	}
	public String getTitleJp() {
		return titleJp;
	}
	public TpProductBqSp setTitleJp(String titleJp) {
		this.titleJp = titleJp;
		return this;
	}
	public Integer getRatingJp() {
		return ratingJp;
	}
	public TpProductBqSp setRatingJp(Integer ratingJp) {
		this.ratingJp = ratingJp;
		return this;
	}
	public BigDecimal getScoreJp() {
		return scoreJp;
	}
	public TpProductBqSp setScoreJp(BigDecimal scoreJp) {
		this.scoreJp = scoreJp;
		return this;
	}
	public String getDayOnJp() {
		return dayOnJp;
	}
	public TpProductBqSp setDayOnJp(String dayOnJp) {
		this.dayOnJp = dayOnJp;
		return this;
	}
	public Integer getRankOneJp() {
		return rankOneJp;
	}
	public TpProductBqSp setRankOneJp(Integer rankOneJp) {
		this.rankOneJp = rankOneJp;
		return this;
	}
	public String getDispatchesJp() {
		return dispatchesJp;
	}
	public TpProductBqSp setDispatchesJp(String dispatchesJp) {
		this.dispatchesJp = dispatchesJp;
		return this;
	}
	public String getSolderJp() {
		return solderJp;
	}
	public TpProductBqSp setSolderJp(String solderJp) {
		this.solderJp = solderJp;
		return this;
	}
	public String getRemarkJp() {
		return remarkJp;
	}
	public TpProductBqSp setRemarkJp(String remarkJp) {
		this.remarkJp = remarkJp;
		return this;
	}
	public Long getCateOneJPId() {
		return cateOneJPId;
	}
	public TpProductBqSp setCateOneJPId(Long cateOneJPId) {
		this.cateOneJPId = cateOneJPId;
		return this;
	}
	public Long getSpid() {
		return spid;
	}
	public TpProductBqSp setSpid(Long spid) {
		this.spid = spid;
		return this;
	}
	public Integer getIsEdit() {
		return isEdit;
	}
	public TpProductBqSp setIsEdit(Integer isEdit) {
		this.isEdit = isEdit;
		return this;
	}
	public Long getCommodityPlId() {
		return commodityPlId;
	}
	public TpProductBqSp setCommodityPlId(Long commodityPlId) {
		this.commodityPlId = commodityPlId;
		return this;
	}
	public String getCommodityProperty() {
		return commodityProperty;
	}
	public TpProductBqSp setCommodityProperty(String commodityProperty) {
		this.commodityProperty = commodityProperty;
		return this;
	}
	public Long getNameUnitId() {
		return nameUnitId;
	}
	public TpProductBqSp setNameUnitId(Long nameUnitId) {
		this.nameUnitId = nameUnitId;
		return this;
	}
	public Long getNameId() {
		return nameId;
	}
	public TpProductBqSp setNameId(Long nameId) {
		this.nameId = nameId;
		return this;
	}
	public Long getUsageId() {
		return usageId;
	}
	public TpProductBqSp setUsageId(Long usageId) {
		this.usageId = usageId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpProductBqSp setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpProductBqSp setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpProductBqSp setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpProductBqSp tpProductBqSp(
		Long pid,
		String code,
		String name,
		BigDecimal priceService,
		String codeMerge,
		String isSuperior,
		String vsfJp,
		Long commodityLmId,
		String commodityRemark,
		String img,
		String img1,
		String img2,
		String combination,
		String codeHs,
		BigDecimal sizeLength,
		BigDecimal sizeWidth,
		BigDecimal sizeHeight,
		BigDecimal sizeWeight,
		String linkIn,
		BigDecimal fjySj,
		BigDecimal priceIn,
		String remark,
		BigDecimal fygFy,
		BigDecimal fwlYgFy,
		BigDecimal fyjb,
		BigDecimal fcbK,
		BigDecimal fcbH,
		BigDecimal fmllK,
		BigDecimal fmllH,
		BigDecimal fTcbK,
		BigDecimal fTcbH,
		String asinJp,
		String linkJp,
		BigDecimal priceJp,
		String titleJp,
		Integer ratingJp,
		BigDecimal scoreJp,
		String dayOnJp,
		Integer rankOneJp,
		String dispatchesJp,
		String solderJp,
		String remarkJp,
		Long cateOneJPId,
		Long spid,
		Integer isEdit,
		Long commodityPlId,
		String commodityProperty,
		Long nameUnitId,
		Long nameId,
		Long usageId,
		Integer status
			) {
		TpProductBqSp entity = new TpProductBqSp();
		entity.setPid(pid);
		entity.setCode(code);
		entity.setName(name);
		entity.setPriceService(priceService);
		entity.setCodeMerge(codeMerge);
		entity.setIsSuperior(isSuperior);
		entity.setVsfJp(vsfJp);
		entity.setCommodityLmId(commodityLmId);
		entity.setCommodityRemark(commodityRemark);
		entity.setImg(img);
		entity.setImg1(img1);
		entity.setImg2(img2);
		entity.setCombination(combination);
		entity.setCodeHs(codeHs);
		entity.setSizeLength(sizeLength);
		entity.setSizeWidth(sizeWidth);
		entity.setSizeHeight(sizeHeight);
		entity.setSizeWeight(sizeWeight);
		entity.setLinkIn(linkIn);
		entity.setFjySj(fjySj);
		entity.setPriceIn(priceIn);
		entity.setRemark(remark);
		entity.setFygFy(fygFy);
		entity.setFwlYgFy(fwlYgFy);
		entity.setFyjb(fyjb);
		entity.setFcbK(fcbK);
		entity.setFcbH(fcbH);
		entity.setFmllK(fmllK);
		entity.setFmllH(fmllH);
		entity.setFTcbK(fTcbK);
		entity.setFTcbH(fTcbH);
		entity.setAsinJp(asinJp);
		entity.setLinkJp(linkJp);
		entity.setPriceJp(priceJp);
		entity.setTitleJp(titleJp);
		entity.setRatingJp(ratingJp);
		entity.setScoreJp(scoreJp);
		entity.setDayOnJp(dayOnJp);
		entity.setRankOneJp(rankOneJp);
		entity.setDispatchesJp(dispatchesJp);
		entity.setSolderJp(solderJp);
		entity.setRemarkJp(remarkJp);
		entity.setCateOneJPId(cateOneJPId);
		entity.setSpid(spid);
		entity.setIsEdit(isEdit);
		entity.setCommodityPlId(commodityPlId);
		entity.setCommodityProperty(commodityProperty);
		entity.setNameUnitId(nameUnitId);
		entity.setNameId(nameId);
		entity.setUsageId(usageId);
		entity.setStatus(status);
		return entity;
	}
}